//
//  DGGlobalTimerObserver.h
//  DGGlobalTimer
//
//  Created by Jinxiao on 7/25/14.
//  Copyright (c) 2014 debugeek. All rights reserved.
//

typedef void (^observerPreparedBlock) (void);
typedef void (^observerInitializedBlock) (NSTimeInterval remains);
typedef void (^observerTriggeredBlock) (NSTimeInterval remains);
typedef void (^observerCompletedBlock) (void);

@interface DGGlobalTimerObserver : NSObject
@property (readwrite, nonatomic, copy) NSString *identifier;
@property (readwrite, nonatomic, copy) NSString *key;
@property (readwrite, nonatomic, copy) observerPreparedBlock preparedBlock;
@property (readwrite, nonatomic, copy) observerInitializedBlock initializedBlock;
@property (readwrite, nonatomic, copy) observerTriggeredBlock triggeredBlock;
@property (readwrite, nonatomic, copy) observerCompletedBlock completedBlock;
@end
